﻿<controls:MetroWindow x:Class="WpfApplication1.Admin_View.Home"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
        Title="Home" Height="613.868" Width="760.062" WindowTitleBrush="{DynamicResource {x:Static SystemColors.ActiveCaptionBrushKey}}" TitleForeground="{DynamicResource {x:Static SystemColors.ControlLightLightBrushKey}}">
    <controls:MetroWindow.Resources>
        <Style x:Key="Gridview" TargetType="{x:Type Grid}"/>
    </controls:MetroWindow.Resources>
    <Grid Background="{DynamicResource {x:Static SystemColors.ActiveBorderBrushKey}}" Margin="0,0,-6.4,-3">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="62*"/>
            <ColumnDefinition Width="19*"/>
        </Grid.ColumnDefinitions>
        <TabControl HorizontalAlignment="Left" Height="575" VerticalAlignment="Top" Width="822" Margin="52,30,0,0" RenderTransformOrigin="0.5,0.5" Grid.ColumnSpan="2">
            <TabItem Header="Overzicht" Margin="8,90,-7.8,-90.2">
                <TabControl HorizontalAlignment="Left" Height="47" Margin="10,20,0,0" VerticalAlignment="Top" Width="546" Grid.ColumnSpan="2">

                </TabControl>
            </TabItem>

            <TabItem Header="Bedrijven" Margin="-117.2,199,80.6,-198.2">
                <TabControl HorizontalAlignment="Left" Height="47" Margin="258,-37,-11.2,0" VerticalAlignment="Top" Width="546">

                    <TabItem Header="Toevoegen">
                        <Grid Background="{DynamicResource {x:Static SystemColors.ActiveBorderBrushKey}}" Margin="10,-43,-13,-489.2">
                            <Button x:Name="btnToevoegen" Content="Toevoegen" HorizontalAlignment="Left" Margin="138,497,0,0" VerticalAlignment="Top" Width="75" Background="{DynamicResource {x:Static SystemColors.ActiveCaptionBrushKey}}" BorderBrush="White" Foreground="White" OpacityMask="Black" Click="btnToevoegen_Click"/>
                            <Label Content="Bedrijf" HorizontalAlignment="Left" Margin="10,72,0,0" VerticalAlignment="Top" BorderBrush="{DynamicResource {x:Static SystemColors.ControlLightBrushKey}}" Foreground="White" Width="109"/>
                            <Label Content="Straat" HorizontalAlignment="Left" Margin="10,230,0,0" VerticalAlignment="Top" Foreground="White" Width="91"/>
                            <TextBox x:Name="txtBedrijf" HorizontalAlignment="Left" Height="23" Margin="138,72,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" TabIndex="1"/>
                            <Label Content="Postcode" HorizontalAlignment="Left" Margin="10,261,0,0" VerticalAlignment="Top" Foreground="White" Width="109"/>
                            <Label Content="Gemeente" HorizontalAlignment="Left" Margin="10,292,0,0" VerticalAlignment="Top" Foreground="White" Width="109"/>
                            <TextBox x:Name="txtStraat" HorizontalAlignment="Left" Height="23" Margin="138,230,0,0" TextWrapping="Wrap"  VerticalAlignment="Top" Width="120" TabIndex="6"/>
                            <TextBox x:Name="txtPlaats" HorizontalAlignment="Left" Height="23" Margin="138,291,0,0" TextWrapping="Wrap"  VerticalAlignment="Top" Width="120" TabIndex="8"/>
                            <Label Content="Land" HorizontalAlignment="Left" Margin="10,323,0,0" VerticalAlignment="Top" Foreground="White" Width="109"/>
                            <Label Content="Email" HorizontalAlignment="Left" Margin="10,354,0,0" VerticalAlignment="Top" Foreground="White" Width="109"/>
                            <Label Content="Telefoon" HorizontalAlignment="Left" Margin="10,385,0,0" VerticalAlignment="Top" Foreground="White" Width="109"/>
                            <TextBox x:Name="txtLand" HorizontalAlignment="Left" Height="23" Margin="138,323,0,0" TextWrapping="Wrap"  VerticalAlignment="Top" Width="120" TabIndex="9"/>
                            <TextBox x:Name="txtEmail" HorizontalAlignment="Left" Height="23" Margin="138,354,0,0" TextWrapping="Wrap"  VerticalAlignment="Top" Width="120" TabIndex="10"/>
                            <TextBox x:Name="txtTelefoon" HorizontalAlignment="Left" Height="23" Margin="138,385,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" TabIndex="11"/>
                            <Label Content="Passwoord" HorizontalAlignment="Left" Margin="10,103,0,0" VerticalAlignment="Top" BorderBrush="{DynamicResource {x:Static SystemColors.ControlLightBrushKey}}" Foreground="White" Width="109"/>
                            <Label Content="Passwoord" HorizontalAlignment="Left" Margin="10,134,0,0" VerticalAlignment="Top" BorderBrush="{DynamicResource {x:Static SystemColors.ControlLightBrushKey}}" Foreground="White" Width="109"/>
                            <TextBox x:Name="txtPostcode" HorizontalAlignment="Left" Height="23" Margin="138,260,0,0" TextWrapping="Wrap"  VerticalAlignment="Top" Width="120" TabIndex="7"/>
                            <PasswordBox x:Name="txtPassword" HorizontalAlignment="Left" Margin="138,103,0,0" VerticalAlignment="Top" Width="120" TabIndex="2"/>
                            <PasswordBox x:Name="txtConfirmPw" HorizontalAlignment="Left" Margin="138,134,0,0" VerticalAlignment="Top" Width="120" TabIndex="3"/>
                            <ComboBox x:Name="cmbRoles" HorizontalAlignment="Left" Margin="138,447,0,0" VerticalAlignment="Top" Width="120"/>
                            <Label Content="Rol" HorizontalAlignment="Left" Margin="10,455,0,0" VerticalAlignment="Top" Foreground="White" Width="109"/>
                            <Label Content="Beveiligingsvraag" HorizontalAlignment="Left" Margin="10,165,0,0" VerticalAlignment="Top" BorderBrush="{DynamicResource {x:Static SystemColors.ControlLightBrushKey}}" Foreground="White" Width="109"/>
                            <Label Content="Antwoord" HorizontalAlignment="Left" Margin="10,196,0,0" VerticalAlignment="Top" BorderBrush="{DynamicResource {x:Static SystemColors.ControlLightBrushKey}}" Foreground="White" Width="109"/>
                            <PasswordBox x:Name="txtAntwoord" HorizontalAlignment="Left" Margin="138,196,0,0" VerticalAlignment="Top" Width="120" TabIndex="5"/>
                            <TextBox x:Name="txtVraag" HorizontalAlignment="Left" Height="23" Margin="138,166,0,0" TextWrapping="Wrap"  VerticalAlignment="Top" Width="120" TabIndex="4"/>
                            <TextBox x:Name="txtMedewerkers" HorizontalAlignment="Left" Height="23" Margin="138,416,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" TabIndex="11"/>
                            <Label Content="Medewerkers" HorizontalAlignment="Left" Margin="10,417,0,0" VerticalAlignment="Top" Foreground="White" Width="109"/>
                        </Grid>
                    </TabItem>
                    <TabItem Header="Wijzigen/Verwijderen">
                        <Grid Background="{DynamicResource {x:Static SystemColors.ActiveBorderBrushKey}}" Margin="-43,-39,40,-493.2">
                            <Button x:Name="btnEdit" Content="Wijzigen" HorizontalAlignment="Left" Margin="314,332,0,0" VerticalAlignment="Top" Width="75" Background="{DynamicResource {x:Static SystemColors.ActiveCaptionBrushKey}}" BorderBrush="White" Foreground="White" OpacityMask="Black" Click="btnEdit_Click" RenderTransformOrigin="0.613,-5.156"/>
                            <Label Content="Bedrijven" HorizontalAlignment="Left" Margin="10,65,0,0" VerticalAlignment="Top" BorderBrush="{DynamicResource {x:Static SystemColors.ControlLightBrushKey}}" Foreground="White" Width="109"/>
                            <Label Content="Straat" HorizontalAlignment="Left" Margin="233,105,0,0" VerticalAlignment="Top" Foreground="White" Width="91" RenderTransformOrigin="-0.177,0.547"/>
                            <Label Content="Postcode" HorizontalAlignment="Left" Margin="233,135,0,0" VerticalAlignment="Top" Foreground="White" Width="109"/>
                            <Label Content="Gemeente" HorizontalAlignment="Left" Margin="233,166,0,0" VerticalAlignment="Top" Foreground="White" Width="109"/>
                            <TextBox x:Name="txtEditStraat" HorizontalAlignment="Left" Height="23" Margin="342,105,0,0" TextWrapping="Wrap"  VerticalAlignment="Top" Width="120" TabIndex="6"/>
                            <TextBox x:Name="txtEditPlaats" HorizontalAlignment="Left" Height="23" Margin="342,167,0,0" TextWrapping="Wrap"  VerticalAlignment="Top" Width="120" TabIndex="8"/>
                            <Label Content="Land" HorizontalAlignment="Left" Margin="233,198,0,0" VerticalAlignment="Top" Foreground="White" Width="109"/>
                            <Label Content="Email" HorizontalAlignment="Left" Margin="233,224,0,0" VerticalAlignment="Top" Foreground="White" Width="109"/>
                            <Label Content="Telefoon" HorizontalAlignment="Left" Margin="233,255,0,0" VerticalAlignment="Top" Foreground="White" Width="109"/>
                            <TextBox x:Name="txtEditLand" HorizontalAlignment="Left" Height="23" Margin="342,198,0,0" TextWrapping="Wrap"  VerticalAlignment="Top" Width="120" TabIndex="9"/>
                            <TextBox x:Name="txtEditEmail" HorizontalAlignment="Left" Height="23" Margin="342,229,0,0" TextWrapping="Wrap"  VerticalAlignment="Top" Width="120" TabIndex="10"/>
                            <TextBox x:Name="txtEditTelefoon" HorizontalAlignment="Left" Height="23" Margin="342,260,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" TabIndex="11"/>
                            <TextBox x:Name="txtEditPostcode" HorizontalAlignment="Left" Height="23" Margin="342,136,0,0" TextWrapping="Wrap"  VerticalAlignment="Top" Width="120" TabIndex="7"/>
                            <TextBox x:Name="txtEditMedewerkers" HorizontalAlignment="Left" Height="23" Margin="342,291,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" TabIndex="11"/>
                            <Label Content="Medewerkers" HorizontalAlignment="Left" Margin="233,291,0,0" VerticalAlignment="Top" Foreground="White" Width="109"/>
                            <ListBox x:Name="lstBedrijven" HorizontalAlignment="Left" Height="335" Margin="10,91,0,0" VerticalAlignment="Top" Width="188" SelectionChanged="lstBedrijven_SelectionChanged"/>
                            <Button x:Name="btnVerwijderen" Content="Verwijder" HorizontalAlignment="Left" Margin="394,332,0,0" VerticalAlignment="Top" Width="75" Background="{DynamicResource {x:Static SystemColors.ActiveCaptionBrushKey}}" BorderBrush="White" Foreground="White" OpacityMask="Black" Click="btnVerwijder_Click" RenderTransformOrigin="0.613,-5.156"/>
                        </Grid>
                    </TabItem>
                </TabControl>
            </TabItem>

            <TabItem Header="Contracten" Margin="-241.2,309,241.8,-309.2">
                <TabControl HorizontalAlignment="Left" Height="47" Margin="121,48,0,0" VerticalAlignment="Top" Width="546">
                    <TabItem Header="Toevoegen" Margin="212,-44,-211.6,43.8">
                        <Grid Background="{DynamicResource {x:Static SystemColors.ActiveBorderBrushKey}}" Margin="108,-34,-136,-424.2">
                            <Button x:Name="btnBevestig" Content="Bevestig" HorizontalAlignment="Left" Margin="285,151,0,0" VerticalAlignment="Top" Width="75" Background="{DynamicResource {x:Static SystemColors.ActiveCaptionBrushKey}}" BorderBrush="White" Foreground="White" OpacityMask="Black" Click="btnBevestig_Click" RenderTransformOrigin="-0.433,0.414"/>
                            <Label Content="Startdatum" HorizontalAlignment="Left" Margin="190,59,0,0" VerticalAlignment="Top" BorderBrush="{DynamicResource {x:Static SystemColors.ControlLightBrushKey}}" Foreground="White" Width="109"/>
                            <Label Content="Einddatum" HorizontalAlignment="Left" Margin="190,121,0,0" VerticalAlignment="Top" Foreground="White" Width="91"/>
                            <TextBox x:Name="txtEinddatum" HorizontalAlignment="Left" Height="23" Margin="285,120,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="174" TextChanged="txtEinddatum_TextChanged" />
                            <Label Content="Formule" HorizontalAlignment="Left" Margin="190,90,0,0" VerticalAlignment="Top" BorderBrush="{DynamicResource {x:Static SystemColors.ControlLightBrushKey}}" Foreground="White" Width="109"/>
                            <ListBox x:Name="lstCompany" HorizontalAlignment="Left" Height="370" Margin="-57,10,0,0" VerticalAlignment="Top" Width="223" SelectionChanged="lstCompany_SelectionChanged" />
                            <DatePicker x:Name="dtpStartDate" HorizontalAlignment="Left" Margin="285,58,0,0" VerticalAlignment="Top" Width="174" SelectedDateFormat="Long"/>
                            <ComboBox x:Name="cmbFormula" HorizontalAlignment="Left" Margin="285,89,0,0" VerticalAlignment="Top" Width="174" SelectionChanged="cmbFormula_SelectionChanged"/>
                        </Grid>
                    </TabItem>
                    <TabItem Header="Verwijderen" Margin="247.6,-44,-247.6,43.8" HorizontalAlignment="Left" Width="156">
                        <Grid Background="{DynamicResource {x:Static SystemColors.ActiveBorderBrushKey}}" Margin="104,-35,-126,-422.2">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="100*"/>
                                <ColumnDefinition Width="23*"/>
                                <ColumnDefinition Width="158*"/>
                            </Grid.ColumnDefinitions>
                            <ListBox x:Name="lstBedrijvenStopzetten" HorizontalAlignment="Left" Height="368" Margin="-52,53,0,0" VerticalAlignment="Top" Width="219" SelectionChanged="lstBedrijvenStopzetten_SelectionChanged"/>
                            <Button x:Name="BtnVerwijderen" Content="Verwijderen" HorizontalAlignment="Left" Margin="36.4,211,0,0" VerticalAlignment="Top" Width="82" Background="{DynamicResource {x:Static SystemColors.ActiveCaptionBrushKey}}" BorderBrush="White" Foreground="White" OpacityMask="Black" Click="btnVerwijderen_Click" Grid.Column="2"/>
                            <Label Content="Startdatum" HorizontalAlignment="Left" Margin="186,95,0,0" VerticalAlignment="Top" BorderBrush="{DynamicResource {x:Static SystemColors.ControlLightBrushKey}}" Foreground="White" Width="109" Grid.ColumnSpan="3"/>
                            <Label Content="Einddatum" HorizontalAlignment="Left" Margin="186,180,0,0" VerticalAlignment="Top" Foreground="White" Width="91" Grid.ColumnSpan="3"/>
                            <TextBox x:Name="txtEindDatumStop" HorizontalAlignment="Left" Height="23" Margin="36.4,180,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="174" Grid.Column="2" />
                            <Label Content="Formule" HorizontalAlignment="Left" Margin="186,136,0,0" VerticalAlignment="Top" BorderBrush="{DynamicResource {x:Static SystemColors.ControlLightBrushKey}}" Foreground="White" Width="109" Grid.ColumnSpan="3"/>
                            <TextBox x:Name="txtStartDatumStop" HorizontalAlignment="Left" Margin="36.4,95,0,0" VerticalAlignment="Top" Width="174" Height="28" Grid.Column="2"/>
                            <TextBox x:Name="txtFormulaStop" HorizontalAlignment="Left" Margin="36.4,136,0,0" VerticalAlignment="Top" Width="174" Grid.Column="2"/>
                            <Label Content="Bedrijfsnaam" HorizontalAlignment="Left" Margin="186,54,0,0" VerticalAlignment="Top" BorderBrush="{DynamicResource {x:Static SystemColors.ControlLightBrushKey}}" Foreground="White" Width="109" Grid.ColumnSpan="3"/>
                            <TextBox x:Name="txtBedrijfsnaam" HorizontalAlignment="Left" Margin="36.4,54,0,0" VerticalAlignment="Top" Width="174" Grid.Column="2"/>
                        </Grid>
                    </TabItem>
                </TabControl>
            </TabItem>
            <Grid Background="{DynamicResource {x:Static SystemColors.ActiveBorderBrushKey}}" Height="533" Width="543"/>

        </TabControl>
        <Button x:Name="btnLogout" Content="Uitloggen" HorizontalAlignment="Left" Margin="93.4,4,0,0" VerticalAlignment="Top" Width="75" Background="{DynamicResource {x:Static SystemColors.ActiveCaptionBrushKey}}" BorderBrush="White" Foreground="White" OpacityMask="Black" Click="btnLogout_Click" Grid.Column="1"/>
    </Grid>
</controls:MetroWindow>
